import _axios from '@/tool/http.js'

// 获取列表信息
export const getList = (param, pageSize, pageNum) => {
    let options = {
        url: api.crm + '/customerInfo/list/'+ pageSize + '/' + pageNum,
        method: 'POST',
        data: JSON.stringify(param),
        headers: {
            "Content-Type": 'application/json', "Accept": 'application/json'
        }
    }
    return _axios(options)
}
// 获取客服信息
export const getCreateBy = () => {
    let options = {
        url: api.base + '/systemUser/get',
        method: 'POST',
        headers: {
            "Content-Type": 'application/json', "Accept": 'application/json'
        },
        data: JSON.stringify({})
    }
    return _axios(options)
}
// 货物预约来源
export const getResource = () => {
    let options = {
        url: api.base + '/systemDictionary/getByType/reservationSource',
        method: 'POST',
        headers: {
            "Content-Type": 'application/json', "Accept": 'application/json'
        }
    }
    return _axios(options);
}